package com.plian.system.vo.pf;

import com.plian.system.entity.pf.BusinessResponsibility;
import com.plian.system.entity.pf.MajorProject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: Take-off
 * @Description: TODO
 * @Date: 2022/12/20 2:55 PM
 * @Version: 1.0
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "BusinessResponsibilityVO 对象", description = "经营业绩考核 责任书VO")
public class BusinessResponsibilityVO extends BusinessResponsibility {
    private static final long serialVersionUID = 1L;

    private String createUserName;

    private String updateUserName;

    private String approvedUserName;

    private String handleUserName;

    private String fillingUnitName;

    @ApiModelProperty(value = "子表-财务绩效")
    private List<BusinessIndicatorsVO> businessIndicatorsVOS;

    @ApiModelProperty(value = "子表-任务绩效绩效")
    private List<TaskIndicatorsVO> taskIndicatorsVOS;

    @ApiModelProperty(value = "子表-重大工程考核")
    private List<MajorProject> majorProjects;

    @ApiModelProperty(value = "目标值（亿元）")
    private BigDecimal targetValue;

    @ApiModelProperty(value = "是否有重大工程考核项目:0-否，1-是")
    private Integer isMajorProject;

    @ApiModelProperty(value = "上个版本数据")
    private BusinessResponsibilityVO lastInfoVO;
}
